Platform Explorer / Nuxeo Platform 2025.7

Operation Search.WaitForIndexing (Wait for Indexing)

Description

Wait until indexing is done, only for testing purpose.
Operation id Search.WaitForIndexing
AliasesElasticsearch.WaitForIndexing
Category Services
Label Wait for Indexing
Requires
Since 2025.0

Parameters

Name Description Type Required Default value
refresh boolean no  
timeoutSecond integer no  
waitForAudit boolean no  
waitForBulkService boolean no  
waitForWorkManager boolean no  

Signature

Inputs void
Outputs boolean

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.services.search.SearchWaitForIndexingOperation
Contributing Component org.nuxeo.ecm.core.automation.features.operations

JSON Definition

{
  "id" : "Search.WaitForIndexing",
  "aliases" : [ "Elasticsearch.WaitForIndexing" ],
  "label" : "Wait for Indexing",
  "category" : "Services",
  "requires" : null,
  "description" : "Wait until indexing is done, only for testing purpose.",
  "since" : "2025.0",
  "url" : "Search.WaitForIndexing",
  "signature" : [ "void", "boolean" ],
  "params" : [ {
    "name" : "refresh",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "timeoutSecond",
    "description" : null,
    "type" : "integer",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "waitForAudit",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "waitForBulkService",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "waitForWorkManager",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}